%% make
% usage:    make ('p')              - for PC users
%           make ('m') / make ('l') - for mac or linux users
function make(a)
if (a=='m' || a=='l')     %% mac / linux
    mex CC=gcc CXX=gcc LD=gcc -lm -output LoadObjFile 3DObjFile.c 3DObjFileMex.c BufferedFile.c
else    %% pc
    mex -DWIN32 -output LoadObjFile 3DObjFile.c 3DObjFileMex.c BufferedFile.c
end